package com.example.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel("故障信息Dto")
@Accessors(chain = true)
public class CenterConfigDto {

    private Integer uuid;

    @ApiModelProperty("A:白班  B:夜班")
    private String duty;

    @ApiModelProperty("工作中心id")
    private String workCenterId;

    @ApiModelProperty("绑定类型\n" +
            "workbench -> 以精确到机台为准\n" +
            "workCenter -> 以工作中心为准\n" +
            "district -> 以预设的片区为准")
    private String decisionType;

    @ApiModelProperty("片区ID，仅 decisionType 的值为片区才需要填写")
    private String districtId;

    @ApiModelProperty("创建人(默认当前用户)")
    private String creator;

    @ApiModelProperty("创建时间(默认当前时间)")
    private String creatorTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态 0 -> 关闭 1 -> 启用 2 ->删除")
    private String status="1";

    @ApiModelProperty("机台ID")
    private String workbenchId;

    @ApiModelProperty("故障类型")
    private String faultType;

    @ApiModelProperty("故障相关人员信息")
    private List<CenterWorkLeaderDto> workLeaderList;
}
